package com.hxexp.weixin.hpe.api.orderpayment.model;

import java.io.Serializable;

/**
 * 预支付订单参数
 * @author li.jiang
 *
 */
public final class PrepayOrderParamBean implements Serializable {

    private static final long serialVersionUID = 8202653954066961474L;
    // 用户名
    private String userName;
    // 产品编号 （ 站名（出发站））
    private String productId;
    // 产品名称  （出发站-到达站）
    private String productName;
    // 产品数量
    private String productNum;
    // 订单号
    private String orderId;
    // 订单金额
    private String orderAmount;
    // 下单时间
    private String orderTime;
    // 渠道类型
    private String terminalType;
    //  支付类型（服务号使用JSAPI）
    private String payType;
    // 远程终端IP地址
    private String remoteAddr;
    // 微信服务号订阅用户的openid
    private String openId;
    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }
    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }
    /**
     * @return the productId
     */
    public String getProductId() {
        return productId;
    }
    /**
     * @param productId the productId to set
     */
    public void setProductId(String productId) {
        this.productId = productId;
    }
    /**
     * @return the productName
     */
    public String getProductName() {
        return productName;
    }
    /**
     * @param productName the productName to set
     */
    public void setProductName(String productName) {
        this.productName = productName;
    }
    /**
     * @return the productNum
     */
    public String getProductNum() {
        return productNum;
    }
    /**
     * @param productNum the productNum to set
     */
    public void setProductNum(String productNum) {
        this.productNum = productNum;
    }
    /**
     * @return the orderId
     */
    public String getOrderId() {
        return orderId;
    }
    /**
     * @param orderId the orderId to set
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    /**
     * @return the orderAmount
     */
    public String getOrderAmount() {
        return orderAmount;
    }
    /**
     * @param orderAmount the orderAmount to set
     */
    public void setOrderAmount(String orderAmount) {
        this.orderAmount = orderAmount;
    }
    /**
     * @return the orderTime
     */
    public String getOrderTime() {
        return orderTime;
    }
    /**
     * @param orderTime the orderTime to set
     */
    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }
    /**
     * @return the terminalType
     */
    public String getTerminalType() {
        return terminalType;
    }
    /**
     * @param terminalType the terminalType to set
     */
    public void setTerminalType(String terminalType) {
        this.terminalType = terminalType;
    }
    /**
     * @return the payType
     */
    public String getPayType() {
        return payType;
    }
    /**
     * @param payType the payType to set
     */
    public void setPayType(String payType) {
        this.payType = payType;
    }
    /**
     * @return the remoteAddr
     */
    public String getRemoteAddr() {
        return remoteAddr;
    }
    /**
     * @param remoteAddr the remoteAddr to set
     */
    public void setRemoteAddr(String remoteAddr) {
        this.remoteAddr = remoteAddr;
    }
    /**
     * @return the openId
     */
    public String getOpenId() {
        return openId;
    }
    /**
     * @param openId the openId to set
     */
    public void setOpenId(String openId) {
        this.openId = openId;
    }
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return String
                .format("PrepayOrderParamBean [userName=%s, productId=%s, productName=%s, productNum=%s, orderId=%s, orderAmount=%s, orderTime=%s, terminalType=%s, payType=%s, remoteAddr=%s, openId=%s]",
                        userName, productId, productName, productNum, orderId, orderAmount, orderTime, terminalType,
                        payType, remoteAddr, openId);
    }
}
